(Fforward_comment): Always set point.
authorRichard M. Stallman <rms@gnu.org>
Tue, 25 May 1993 18:45:25 +0000 (18:45 +0000)
committerRichard M. Stallman <rms@gnu.org>
Tue, 25 May 1993 18:45:25 +0000 (18:45 +0000)
src/syntax.c

index 9dcb8c23f948ef0497313c4bdd34504292055626..fb584021485ad43fbda1df49bc013b12c71ac0a4 100644 (file)
@@ -612,6 +612,7 @@ between them, return t; otherwise return nil.")
                  if (from == stop)
                    {
                      immediate_quit = 0;
+                     SET_PT (from);
                      return Qnil;
                    }
                  c = FETCH_CHAR (from);
@@ -636,6 +637,7 @@ between them, return t; otherwise return nil.")
          else if (code != Swhitespace)
            {
              immediate_quit = 0;
+             SET_PT (from);
              return Qnil;
            }
        }
@@ -685,6 +687,7 @@ between them, return t; otherwise return nil.")
                      if (from == stop)
                        {
                          immediate_quit = 0;
+                         SET_PT (from);
                          return Qnil;
                        }
                      from--;
@@ -808,6 +811,7 @@ between them, return t; otherwise return nil.")
          else if (code != Swhitespace || quoted)
            {
              immediate_quit = 0;
+             SET_PT (from);
              return Qnil;
            }
        }